<?php
namespace app\admin\controller;
use app\admin\controller\Common;
use app\admin\model\Choice;
use app\admin\model\Fillblank;
use app\admin\model\Judge;
use app\admin\model\Shortanswer;
use think\Request;
use think\Session;
class Question extends Common
{
	public function qlist(){
        //试题列表
        $creater = Session::get('id');
        $choice = new Choice();
        $fill = new Fillblank();
        $judge = new Judge();
        $short = new Shortanswer();
        // 查询数据集
        $clist = $choice->getList();
        $flist = $fill->getList();
        $jlist = $judge->getList();
        $slist = $short->getList();
        $this->assign("clist",$clist);
        $this->assign("flist",$flist);
        $this->assign("jlist",$jlist);
        $this->assign("slist",$slist);
		return $this->fetch();
	}
}